﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Cydjb.aspx.cs" Inherits="Repcyd_Cydjb" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>
        <%=repName %>季数据</title>
    <link href="../css/SIS.css" rel="stylesheet" type="text/css" />

    <script language="javascript" type="text/javascript" src="../My97DatePicker/WdatePicker.js"></script>

    <script language="javascript" type="text/javascript" src="../Js/Excel.js"></script>

    <script type="text/javascript" language="javascript">
        function printsection()   
        {   
            var   aaa   =   document.all.show.innerHTML;   
            var   ddd   =   document.body.innerHTML;   
            document.body.innerHTML   =   aaa;   
            window.print();   
            document.body.innerHTML   =   ddd;   
            return   false;   
        } 
    </script>

</head>
<body>
    <form id="form1" runat="server">
    <div id="Div1">
        <img id="imgTop" height="38px;" src="../img/<%=bmp %>" width="100%" />
    </div>
    <div>
        <table style="width: 100%;">
            <tr>
                <td align="left">
                    &nbsp; &nbsp
                    <label id="lalStime" runat="server" class="td_title">
                        选择您要查询的日期:</label>
                    &nbsp;
                    <input type="text" id="Date1" style="text-align: center;" runat="server" readonly="readonly"
                        onfocus="WdatePicker({skin:'whyGreen',dateFmt:'yyyy年'})" class="Wdate" />
                    &nbsp;&nbsp;&nbsp;
                    <asp:DropDownList ID="drpJd" runat="server" Width="8%">
                        <asp:ListItem Text="第一季度" Selected="True" Value="1"></asp:ListItem>
                        <asp:ListItem Text="第二季度" Value="2"></asp:ListItem>
                        <asp:ListItem Text="第三季度" Value="3"></asp:ListItem>
                        <asp:ListItem Text="第四季度" Value="4"></asp:ListItem>
                    </asp:DropDownList>
                    &nbsp; &nbsp; &nbsp;
                    <asp:Button ID="btnChaXun" runat="server" Text="查 询" class="nvinput" OnClick="btnChaXun_Click" />
                    &nbsp; &nbsp; &nbsp;
                    <input type="button" id="btnPrint" value="打 印" class="nvinput" onclick="return printsection()" />
                    &nbsp;&nbsp;
                    <input style="" type="button" id="btnExportCSV" value="导出Excel" class="nvinput" onclick="toExcel(CX)" />
                </td>
            </tr>
        </table>
    </div>
    <%-- <table width="98%" border="1" align="center" class="bg" valign="top" bordercolorlight="#999999"
        bordercolordark="#FFFFFF" cellspacing="0" cellpadding="1" id="CX">
        <tr bgcolor="#CFE6FC">
            <td rowspan="2" align="center">
                指 标 名 称
            </td>
            <td rowspan="2" align="center">
                单 位
            </td>
            <td rowspan="2" align="center">
                设 计 值
            </td>
            <td colspan="3" align="center">
                本 期
            </td>
            <td colspan="3" align="center">
                同 期
            </td>
        </tr>
        <tr bgcolor="#CFE6FC">
            <td align="center">
                #1机
            </td>
            <td align="center">
                #2机
            </td>
            <td align="center">
                全厂
            </td>
            <td align="center">
                #1机
            </td>
            <td align="center">
                #2机
            </td>
            <td align="center">
                全厂
            </td>
        </tr>--%>
    <div id="show" runat="server">
    </div>
    <%-- </table>--%>
    </form>
</body>
</html>
